home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'A very rusty ball',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_BallsAndBubbles():
- return {
- 'Illumination': {
- 'MaxAmbience': 100,
- 'MinAmbience': 0,
- 'LightList': [{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (192,192,192),
- 'Direction': (0.0377249,0.110026,-0.993213),
- 'HighlightSize': 0
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (192,192,192),
- 'Direction': (-0.820144,-0.572157,0),
- 'HighlightSize': 0
- },{
- 'BubbleLight': App.Constants.Boolean.false,
- 'Color': (255,255,255),
- 'Direction': (0.673384,0.739293,0),
- 'HighlightSize': 0
- }]
- },
- 'Mode': App.Constants.CountType.Single,
- 'Multiple': {
-
- },
- 'Single': {
- 'MaxPossibleSize': App.Constants.Boolean.true
- },
- 'Surface': {
- 'Material': {
- 'Color': (92,50,29),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'BumpMap': {
- 'Active': App.Constants.Boolean.true,
- 'Depth': -25,
- 'FileName': 'Rust',
- 'Fit': App.Constants.Boolean.true,
- 'Size': 100,
- 'Smoothness': 0
- },
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.true,
- 'FileName': 'Rust',
- 'PatternOpacity': 100
- },
- 'Gloss': 0,
- 'Opacity': 100,
- 'Shininess': 0
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'BallsAndBubbles', Preset_BallsAndBubbles())
-
-